#ifndef SGU_TYPES_H
#define SGU_TYPES_H

SGU_NS_BEGIN

//! \c real type is equivalent to \c double
typedef double real;

typedef uint64_t natural;

//! \c Complex type is equivalent to \c std::complex<real>
typedef std::complex<real> Complex;

//! Destruct retry callback, used to trap exceptions in destructors
typedef bool (*t_destructretry)(int error, int fd, const char * scope);

SGU_NS_END

#endif
